package SQL.query;

import SQL.abysnSQL.CreDefList;

/*
 * createtable ::= CREATE TABLE ID : tblname LBRACE CreDefList : credeflist RBRACE
		{:RESULT = new CreateTable(tblname,credeflist);:};
 */
public class CreateTable extends SQL {
	public String tblname;
	public CreDefList credeflist;
	
	public CreateTable(String id,CreDefList list){
		tblname = id;
		credeflist = list;
	}
	
	public String toString(){
		return "CREATE TABLE "+tblname +" (" + credeflist.toString()+")";
	}
}
